| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

AttributeGenerationOutput.h
1 // AttributeGenerationOutput.h
3 //
5
6 namespace nkGraphics
7 {
15 struct AttributeGenerationOutput final
16 {
17 nkMemory::Buffer _outputBuffer ;
18 nkMemory::BufferView<unsigned char> _outputView ;
19
25 FORMAT _dataFormat = R32G32B32_FLOAT ;
26
32 unsigned int _byteOffset = 0u ;
38 unsigned int _stride = 0u ;
39
45 bool _isView = false ;
46 } ;
47 }
nkGraphics::AttributeGenerationOutput::_dataFormat
FORMAT _dataFormat
Definition: AttributeGenerationOutput.h:25
nkGraphics::AttributeGenerationOutput
Describes the output of an attribute generation operation.
Definition: AttributeGenerationOutput.h:16
nkMemory::BufferView< unsigned char >
nkMemory::Buffer
A buffer holding binary data.
Definition: Buffer.h:32
nkGraphics::AttributeGenerationOutput::_stride
unsigned int _stride
Definition: AttributeGenerationOutput.h:38
nkGraphics::AttributeGenerationOutput::_outputView
nkMemory::BufferView< unsigned char > _outputView
The view over the output data. Can be used to preallocate data and append data to an already existing...
Definition: AttributeGenerationOutput.h:18
nkGraphics::AttributeGenerationOutput::_outputBuffer
nkMemory::Buffer _outputBuffer
Buffer of output data, if no view given. Will get allocated by the generation process and left for th...
Definition: AttributeGenerationOutput.h:17
nkGraphics::FORMAT
FORMAT
Available formats for resources.
Definition: DxDefinesWrapper.h:13
nkGraphics::AttributeGenerationOutput::_byteOffset
unsigned int _byteOffset
Definition: AttributeGenerationOutput.h:32
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::AttributeGenerationOutput::_isView
bool _isView
Definition: AttributeGenerationOutput.h:45